﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MaterialTypeEdit.aspx.cs" Inherits="BySoft.Web.Site.MasteData.MaterialTypeEdit"
    MasterPageFile="~/MastePage/SubEmptyMaster.master" %>

<%@ MasterType VirtualPath="~/MastePage/SubEmptyMaster.master" %>
<%@ Register Assembly="OneSoft.Web" Namespace="OneSoft.Web.UI.WebControls" TagPrefix="asp" %>
<%@ Register Assembly="BySoft.Web.Controls" Namespace="BySoft.Web.Controls" TagPrefix="cc1" %>
<asp:Content ID="cphHeadContent" runat="server" ContentPlaceHolderID="HeadPlace">
</asp:Content>
<asp:Content ID="cphContent" runat="server" ContentPlaceHolderID="EmptyMasteCPH">
    <h1 class="tit">
        基础资料 >> <a href="MaterialTypeList.aspx">原料类型资料>></a> 编辑</h1>
    <br />
    <div class="tableStyle2">
        <table border="0" cellspacing="0" cellpadding="0" style="text-align: left; width: 100%"
            id="tBase" runat="server">
<tr>
    <th class="left2">
        原料类型编号：
    </th>
    <td class="right2">
        <asp:Label CssClass="lblreadonly" ID="lblMaterialTypeID" runat="server"></asp:Label>
    </td>
    <th class="left2">
        原料类型：
    </th>
    <td class="right2">
        <asp:TextBox CssClass="fullWidth" ID="txtMaterialTypeName" runat="server"></asp:TextBox>
        <span style="color: Red">*</span>
        <asp:RequiredFieldValidator ControlToValidate="txtMaterialTypeName" Display="None" ErrorMessage="请输入原料类型！" ID="rfvMaterialTypeName" ValidationGroup="gSubmit" runat="server"  ></asp:RequiredFieldValidator>
    </td>
</tr>
        </table>
    </div>
	<div class="controlBar" align="center">
        <table cellpadding="0" cellspacing="0" style="width: 300px; margin: 0 auto;">
            <tr>
                <td colspan="4">
                    <label class="btnStyleb png_bg">
                        <asp:Button ID="btnSubmit" runat="server" Text="确定" OnClick="btnSubmit_Click" ValidationGroup="gSubmit"
                            class="png_bg" />
                    </label>
                    <label class="btnStylec png_bg">
                        <input type="button" id="Button2" value="返回" runat="server" onclick="window.location = 'MaterialTypeList.aspx'"
                            class="png_bg" />
                    </label>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>


